package zhjb.platform.module.blog.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 分类表
 * 
 * @author zhangjianbing@msn.com
 * 
 */
@Entity
@Table(name = "tb_classify")
public class Classify {
	private String id;
	private String userid;
	private String classname;
	private String des;
	private String contentmodule;

	@Id
	@Column(length = 32)
	@GeneratedValue(generator = "system-uuid")
	@GenericGenerator(name = "system-uuid", strategy = "uuid")
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getClassname() {
		return classname;
	}

	public void setClassname(String classname) {
		this.classname = classname;
	}

	public String getDes() {
		return des;
	}

	public void setDes(String des) {
		this.des = des;
	}

	public String getContentmodule() {
		return contentmodule;
	}

	public void setContentmodule(String contentmodule) {
		this.contentmodule = contentmodule;
	}

}
